import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule} from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { ApiService } from './service/api.service';

import { StaffMainComponent } from './staff/staff-main/staff-main.component';
import { ManagerMainComponent } from './manager/manager-main/manager-main.component';
import { ManagerNavbarComponent } from './manager/manager-navbar/manager-navbar.component';
import { ManagerDealOutComponent } from './manager/manager-deal-out/manager-deal-out.component';
import { ManagerDealLeaveComponent } from './manager/manager-deal-leave/manager-deal-leave.component';
import { ManagerLookLeaveComponent } from './manager/manager-look-leave/manager-look-leave.component';
import { LoginMainComponent } from './login/login-main/login-main.component';

import { AdministrativeMainComponent } from './administrative/administrative-main/administrative-main.component';
import { AdministrativeEmployeeinfoComponent } from './administrative/administrative-employeeinfo/administrative-employeeinfo.component';
import { AdministrativeSigninInfoComponent } from './administrative/administrative-signin-info/administrative-signin-info.component';
import { AdministrativeLeaveInfoComponent } from './administrative/administrative-leave-info/administrative-leave-info.component';
import { AdministrativeOutInfoComponent } from './administrative/administrative-out-info/administrative-out-info.component';
import { AdministrativeRegisterComponent } from './administrative/administrative-register/administrative-register.component';



import { SignInComponent } from './staff/stock/sign-in/sign-in.component';
import { OutRequestComponent } from './staff/stock/out-request/out-request.component';
import { LeaveRequestComponent } from './staff/stock/leave-request/leave-request.component';
import { LeaveRequestStateComponent } from './staff/stock/leave-request-state/leave-request-state.component';
import { OutRequestStateComponent } from './staff/stock/out-request-state/out-request-state.component';

/*

@Author:赵明洋、刘洋、李朝晖

@Date: 2018-12-12

@Last Modified time: 2018-12-16
*/
@NgModule({
  declarations: [
    AppComponent,
    AdministrativeMainComponent,
    AdministrativeEmployeeinfoComponent,
    AdministrativeSigninInfoComponent,
    AdministrativeLeaveInfoComponent,
    AdministrativeOutInfoComponent,
    AdministrativeRegisterComponent,
    LoginMainComponent,
    StaffMainComponent,
    ManagerMainComponent,
    ManagerNavbarComponent,
    ManagerDealOutComponent,
    ManagerDealLeaveComponent,
    ManagerLookLeaveComponent,

    OutRequestComponent,
    LeaveRequestComponent,
    LeaveRequestStateComponent,
    OutRequestStateComponent,
    SignInComponent,
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    HttpClientModule,
    FormsModule,
    ReactiveFormsModule,
  ],
  providers: [ApiService],
  bootstrap: [AppComponent]
})
export class AppModule { }
